#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.basic.module.permission.service;

import ${package}.common.bean.po.Role;

import java.util.List;

/**
 * Description: 无法补充
 *
 * @author wupanhua
 * @date 2019/8/6 15:28
 *
 * <pre>
 *              ${copyright}
 *      Copyright (c) 2019. All Rights Reserved.
 * </pre>
 */
public interface PermissionService {

    /**
     * Description:
     * <权限校验>
     * @author wupanhua
     * @date 10:29 2019/8/7
     * @param uri 1
     * @param roles 2
     * @return boolean
     **/
    boolean canIdoThis(String uri, List<Role> roles);

    /**
     * Description:
     * <获取传入角色下所有的链接权限>
     * @author wupanhua
     * @date 11:46 2019-09-02
     * @param roles 角色列表
     * @return java.util.List<java.lang.String>
     */
    List<String> queryRolePermissionUri(List<Role> roles);
}
